mediaType property

IntColumn get mediaType

The type of media attached (0 = text, 1 = image, 2 = video, etc.). See MediaType. Defaults to 0 (text — no media).

Implementation

IntColumn get mediaType => integer().withDefault(const Constant(0))();