toMap method

Map<String, dynamic> toMap()

Converts the style to a map for the MethodChannel.

Implementation

Map<String, dynamic> toMap() {
  return {
    ...container.toMap(),
    ...content.toMap(),
    ...button.toMap(),
    ...avatar.toMap(),
    ...progress.toMap(),
  };
}