titleFieldsFromJson function

List<TitleField> titleFieldsFromJson(
  1. dynamic json
)

Implementation

List<TitleField> titleFieldsFromJson(dynamic json) {
  if (json is List) {
    return json.map(titleFieldFromJson).toList();
  }
  return [];
}