toMap method

Map<String, dynamic> toMap()

Convert to map for platform channel

Implementation

Map<String, dynamic> toMap() => {
      'buttonType': buttonType,
      'buttonTheme': buttonTheme,
      'cornerRadius': cornerRadius,
    };