DescribeGroupResponse.fromJson constructor

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

Implementation

factory DescribeGroupResponse.fromJson(Map<String, dynamic> json) {
  return DescribeGroupResponse(
    disabledDate: timeStampFromJson(json['DisabledDate']),
    email: json['Email'] as String?,
    enabledDate: timeStampFromJson(json['EnabledDate']),
    groupId: json['GroupId'] as String?,
    name: json['Name'] as String?,
    state: (json['State'] as String?)?.toEntityState(),
  );
}