fromJson static method

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

Implementation

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

  return MessageFileTypeGroup(title: (json['title'] as String?) ?? '');
}