CustomFieldContextDefaultValueMultipleVersionPicker.fromJson constructor

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

Implementation

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