import 'package:PiliPlus/models_new/reply/picture.dart'; class ReplyContent { String? message; List? members; Map? jumpUrl; int? maxLine; List? pictures; double? pictureScale; ReplyContent({ this.message, this.members, this.jumpUrl, this.maxLine, this.pictures, this.pictureScale, }); factory ReplyContent.fromJson(Map json) => ReplyContent( message: json['message'] as String?, members: json['members'] as List?, jumpUrl: json['jump_url'], maxLine: json['max_line'] as int?, pictures: (json['pictures'] as List?) ?.map((e) => ReplyPicture.fromJson(e as Map)) .toList(), pictureScale: (json['picture_scale'] as num?)?.toDouble(), ); }