fromJson static method
Inherited by: TargetChatChosen TargetChatCurrent TargetChatInternalLink
Implementation
static TargetChatInternalLink? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return TargetChatInternalLink(
link: InternalLinkType.fromJson(json['link'] as Map<String, dynamic>?)!,
);
}