27 lines
973 B
Dart
27 lines
973 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'room_list_bean.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
RoomListBean _$RoomListBeanFromJson(Map<String, dynamic> json) => RoomListBean(
|
|
(json['pageSize'] as num?)?.toInt(),
|
|
(json['pageIndex'] as num?)?.toInt(),
|
|
(json['totalNum'] as num?)?.toInt(),
|
|
(json['totalPage'] as num?)?.toInt(),
|
|
(json['result'] as List<dynamic>)
|
|
.map((e) => ResultListBean.fromJson(e as Map<String, dynamic>))
|
|
.toList(),
|
|
);
|
|
|
|
Map<String, dynamic> _$RoomListBeanToJson(RoomListBean instance) =>
|
|
<String, dynamic>{
|
|
'pageSize': instance.pageSize,
|
|
'pageIndex': instance.pageIndex,
|
|
'totalNum': instance.totalNum,
|
|
'totalPage': instance.totalPage,
|
|
'result': instance.result.map((e) => e.toJson()).toList(),
|
|
};
|