ScreenOrientation.fromJson constructor
Implementation
factory ScreenOrientation.fromJson(Map<String, dynamic> json) {
return ScreenOrientation(
type: ScreenOrientationType.fromJson(json['type'] as String),
angle: json['angle'] as int,
);
}