fromMap static method
Gets a possible PrintJobMediaSize instance from a Map value.
Implementation
static PrintJobMediaSize? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = PrintJobMediaSize(
heightMils: map['heightMils'],
id: map['id'],
label: map['label'],
widthMils: map['widthMils'],
);
return instance;
}