listFromJson static method

List<BinaryContentTypeEnum> listFromJson(
  1. List json
)

Implementation

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