// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'message.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

MessageModel _$MessageModelFromJson(Map<String, dynamic> json) => MessageModel()
  ..title = json['title'] as String?
  ..did = json['did'] as String?
  ..userId = json['userId'] as String?
  ..userName = json['userName'] as String?
  ..createTime = json['createTime'] == null
      ? null
      : DateTime.parse(json['createTime'] as String)
  ..type = (json['type'] as num?)?.toInt();

Map<String, dynamic> _$MessageModelToJson(MessageModel instance) =>
    <String, dynamic>{
      'title': instance.title,
      'did': instance.did,
      'userId': instance.userId,
      'userName': instance.userName,
      'createTime': instance.createTime?.toIso8601String(),
      'type': instance.type,
    };
