BulkCustomFieldOptionUpdateRequest.fromJson constructor

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

Implementation

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