// GENERATED CODE - DO NOT MODIFY BY HAND part of 'activity_detail_model.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ActivityDetailModel _$ActivityDetailModelFromJson(Map json) => ActivityDetailModel( id: json['id'] as int, imgList: (json['imgList'] as List) .map((e) => ImgModel.fromJson(e as Map)) .toList(), title: json['title'] as String, status: json['status'] as int, registrationStartTime: json['registrationStartTime'] as String, registrationEndTime: json['registrationEndTime'] as String, activityStartTime: json['activityStartTime'] as String, activityEndTime: json['activityEndTime'] as String, activityAddress: json['activityAddress'] as String, registrationList: (json['registrationList'] as List) .map((e) => Registration.fromJson(e as Map)) .toList(), registrationNum: json['registrationNum'] as int, registrationNumMax: json['registrationNumMax'] as int, registrationCost: (json['registrationCost'] as num).toDouble(), activityContact: json['activityContact'] as String, activityTel: json['activityTel'] as String, content: json['content'] as String, unit: json['unit'] as String, contact: json['contact'] as String, tel: json['tel'] as String, organizerImgList: (json['organizerImgList'] as List) .map((e) => ImgModel.fromJson(e as Map)) .toList(), isRegistration:json['isRegistration'] as int ); Registration _$RegistrationFromJson(Map json) => Registration( id: json['id'] as int, name: json['name'] as String, avatarImgList: (json['avatarImgList'] as List) .map((e) => ImgModel.fromJson(e as Map)) .toList(), );