CustomFieldContextDefaultValueUpdate.fromJson constructor

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

Implementation

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