message_info.g.dart 928 B

123456789101112131415161718192021222324252627
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'message_info.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. MessageInfo _$MessageInfoFromJson(Map<String, dynamic> json) =>
  7. MessageInfo(
  8. id: (json['id'] as num).toInt(),
  9. type: (json['type'] as num).toInt(),
  10. senderId: json['senderId'] as String,
  11. senderPhone: json['senderPhone'] as String,
  12. content: json['content'] as String?,
  13. createTime: (json['createTime'] as num).toInt(),
  14. );
  15. Map<String, dynamic> _$MessageInfoToJson(MessageInfo instance) =>
  16. <String, dynamic>{
  17. 'id': instance.id,
  18. 'type': instance.type,
  19. 'senderId': instance.senderId,
  20. 'senderPhone': instance.senderPhone,
  21. 'content': instance.content,
  22. 'createTime': instance.createTime,
  23. };