WorkGroupSummary.fromJson constructor

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

Implementation

factory WorkGroupSummary.fromJson(Map<String, dynamic> json) {
  return WorkGroupSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    description: json['Description'] as String?,
    name: json['Name'] as String?,
    state: (json['State'] as String?)?.toWorkGroupState(),
  );
}