fromJson static method

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

Implementation

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

  return ChatStatisticsObjectTypeMessage(
    messageId: (json['message_id'] as int?) ?? 0,
  );
}