listFromJson static method

List<TerminatedOccurrenceModel> listFromJson(
  1. dynamic json
)

Implementation

static List<TerminatedOccurrenceModel> listFromJson(dynamic json) =>
    json is List && json.isNotEmpty
        ? json.map(TerminatedOccurrenceModel.fromJson).toList()
        : <TerminatedOccurrenceModel>[];