WorkGroup.fromJson constructor
Implementation
factory WorkGroup.fromJson(Map<String, dynamic> json) {
return WorkGroup(
name: json['Name'] as String,
configuration: json['Configuration'] != null
? WorkGroupConfiguration.fromJson(
json['Configuration'] as Map<String, dynamic>)
: null,
creationTime: timeStampFromJson(json['CreationTime']),
description: json['Description'] as String?,
state: (json['State'] as String?)?.toWorkGroupState(),
);
}