fromJson static method

TargetChatInternalLink? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static TargetChatInternalLink? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return TargetChatInternalLink(
    link: InternalLinkType.fromJson(json['link'] as Map<String, dynamic>?)!,
  );
}