fromMap static method

Resolution fromMap(
  1. Map map
)

Implementation

static Resolution fromMap(Map<dynamic, dynamic> map) {
  int width = map["width"];
  int height = map["height"];
  return Resolution(width, height);
}