listFromJson static method

List<DocumentFileContentTypeEnum> listFromJson(
  1. List json
)

Implementation

static List<DocumentFileContentTypeEnum> listFromJson(List<dynamic> json) {
  return json
      .map((value) {
        return DocumentFileContentTypeEnum.fromJson(value);
      })
      .whereType<DocumentFileContentTypeEnum>()
      .toList();
}