Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage.fromJson constructor
Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage.fromJson()
Implementation
factory Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage.fromJson(
Map<String, dynamic> json) {
final l$text = json['text'];
final l$gif = json['gif'];
final l$sticker = json['sticker'];
final l$media = json['media'];
final l$location = json['location'];
final l$custom = json['custom'];
final l$unread = json['unread'];
final l$createdAt = json['createdAt'];
final l$updatedAt = json['updatedAt'];
return Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage(
text: (l$text as String?),
gif: (l$gif as String?),
sticker: (l$sticker as String?),
media: l$media == null
? null
: Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage$media
.fromJson((l$media as Map<String, dynamic>)),
location: l$location == null
? null
: Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage$location
.fromJson((l$location as Map<String, dynamic>)),
custom: l$custom == null
? null
: Mutation$sendMessageToTarget$sendMessageToTarget$messageGroup$lastMessage$custom
.fromJson((l$custom as Map<String, dynamic>)),
unread: (l$unread as bool?),
createdAt: dateTimeFromJson(l$createdAt),
updatedAt: dateTimeFromJson(l$updatedAt),
);
}