fromMap static method
- Map<
String, dynamic> ? map, { - EnumMethod? enumMethod,
Implementation
static Printer? fromMap(Map<String, dynamic>? map, {EnumMethod? enumMethod}) {
if (map == null) {
return null;
}
final instance = Printer(
id: map['id'],
languageLevel: map['languageLevel'],
name: map['name'],
type: map['type'],
);
return instance;
}