toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final map = <String, dynamic>{};

  map['input'] = input.toMap();
  map['config'] = config.toMap();

  return map;
}