ScreenSettings.fromMap constructor

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

Implementation

factory ScreenSettings.fromMap(Map<String, dynamic> map) {
  return ScreenSettings(
    width: map['width'] as int,
    height: map['height'] as int,
  );
}