toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var configuration = this.configuration;
  var type = this.type;

  final json = <String, Object?>{};
  if (configuration != null) {
    json[r'configuration'] = configuration;
  }
  json[r'type'] = type;
  return json;
}