toMap method

Map<String, dynamic> toMap()

Converts the theme to a map that can be sent over the method channel.

Implementation

Map<String, dynamic> toMap() {
  return {
    'ios': ios?.toMap(),
  };
}