CustomFieldUpdatedContextOptionsList.fromJson constructor

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

Implementation

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