Group.fromJson constructor

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

Implementation

factory Group.fromJson(Map<String, dynamic> json) => Group(
      (json['id'] as String?) ?? '',
      (json['name'] as String?) ?? '',
    );