fromJson static method

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

Implementation

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

  return InlineMessageId(id: (json['id'] as String?) ?? '');
}