toMap method

Map<String, dynamic> toMap()

Convert back to a map (useful for tests/examples).

Implementation

Map<String, dynamic> toMap() => {
      'isEdgeToEdgeEnabled': isEdgeToEdgeEnabled,
      'isEdgeToEdgeSupported': isEdgeToEdgeSupported,
      'androidVersion': androidVersion,
      'androidRelease': androidRelease,
      'systemBarsTop': systemBarsTop,
      'systemBarsBottom': systemBarsBottom,
      'systemBarsLeft': systemBarsLeft,
      'systemBarsRight': systemBarsRight,
      'statusBarsHeight': statusBarsHeight,
      'navigationBarsHeight': navigationBarsHeight,
      'hasNavigationBar': hasNavigationBar,
    };