CustomFieldContextDefaultValueForgeMultiStringField.fromJson constructor

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

Implementation

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