DeviceOrientationChangedEvent.fromJson constructor
Converts the supplied Map to an instance of the DeviceOrientationChangedEvent class.
Implementation
DeviceOrientationChangedEvent.fromJson(Map<String, dynamic> json)
: orientation =
deserializeDeviceOrientation(json['orientation']! as String);