toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'configuration'] = configuration.toJson();
  json[r'id'] = id;
  json[r'key'] = key;
  if (transition != null) {
    json[r'transition'] = transition.toJson();
  }
  return json;
}