fromMap static method

IosScreenInfo fromMap(
  1. Map<String, dynamic> map
)

Implementation

static IosScreenInfo fromMap(Map<String, dynamic> map) {
  return IosScreenInfo._(
    data: map,
    screenWidth: map['screenWidth'],
    screenHeight: map['screenHeight'],
    windowWidth: map['windowWidth'],
    windowHeight: map['windowHeight'],
    statusBarHeight: map['statusBarHeight'],
    scale: map['scale'],
    fontScale: map['fontScale'],
    nightMode: map['nightMode'],
  );
}