CreateGroupOutput.fromJson constructor

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

Implementation

factory CreateGroupOutput.fromJson(Map<String, dynamic> json) {
  return CreateGroupOutput(
    group: json['Group'] != null
        ? Group.fromJson(json['Group'] as Map<String, dynamic>)
        : null,
    groupConfiguration: json['GroupConfiguration'] != null
        ? GroupConfiguration.fromJson(
            json['GroupConfiguration'] as Map<String, dynamic>)
        : null,
    resourceQuery: json['ResourceQuery'] != null
        ? ResourceQuery.fromJson(
            json['ResourceQuery'] as Map<String, dynamic>)
        : null,
    tags: (json['Tags'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}