fromMap static method

PowerSaveMode fromMap(
  1. Map map
)

Implementation

static PowerSaveMode fromMap(Map<dynamic, dynamic> map) {
  int id = map["command"];
  return PowerSaveMode.getPowerSaveMode(id);
}