FieldConfigurationItemsDetails.fromJson constructor

FieldConfigurationItemsDetails.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory FieldConfigurationItemsDetails.fromJson(Map<String, Object?> json) {
  return FieldConfigurationItemsDetails(
    fieldConfigurationItems:
        (json[r'fieldConfigurationItems'] as List<Object?>?)
                ?.map((i) => FieldConfigurationItem.fromJson(
                    i as Map<String, Object?>? ?? const {}))
                .toList() ??
            [],
  );
}