GroupConfigurationItem.fromJson constructor

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

Implementation

factory GroupConfigurationItem.fromJson(Map<String, dynamic> json) {
  return GroupConfigurationItem(
    type: json['Type'] as String,
    parameters: (json['Parameters'] as List?)
        ?.whereNotNull()
        .map((e) =>
            GroupConfigurationParameter.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}