Printer.fromMap constructor

Printer.fromMap(
  1. Map map
)

Create an information object from a dictionnary

Implementation

factory Printer.fromMap(Map<dynamic, dynamic> map) => Printer(
  url: map['url'],
  name: map['name'],
  model: map['model'],
  location: map['location'],
  comment: map['comment'],
  isDefault: map['default'],
  isAvailable: map['available'],
);