FormatMedium class

a format medium describes a group of file formats that are related to each other, for example ImageMedium hosts all of the file formats that represent general (bitmap) based images.

Implementers

Constructors

FormatMedium({required String mediumName, required Map<String, FileFormat> formats})

Properties

hashCode int
The hash code for this object.
no setterinherited
inputFormats List<FileFormat>
no setter
mediumName String
final
outputFormats List<FileFormat>
no setter
prettifyOutputFormats String
no setter
prettyifyInputFormats String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canConvert(FileFormat from, FileFormat to) bool
very naive checker to see if this file format can be converted between the two
isSupportedInput(String ext) bool
isSupportedOutput(String ext) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) FileFormat