toMap method

Map<String, dynamic> toMap()

Convert to a Map to send to Kotlin

Implementation

Map<String, dynamic> toMap() {
  return {
    'value': value,
    'type': type,
    'key': key,
    'id': id,
    'displayConfiguration': displayConfiguration,
  };
}