getActiveMode method
Returns the currently active display mode.
Contains the current resolution and refresh rate. Requires Android 6.0 (API level 23) or higher.
Implementation
Future<DisplayMode> getActiveMode() {
throw UnimplementedError('getActiveMode() has not been implemented.');
}