toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.type != null) {
    json[r'type'] = this.type;
  } else {
    json[r'type'] = null;
  }
  if (this.label != null) {
    json[r'label'] = this.label;
  } else {
    json[r'label'] = null;
  }
  if (this.configurationJSON != null) {
    json[r'configurationJSON'] = this.configurationJSON;
  } else {
    json[r'configurationJSON'] = null;
  }
    json[r'actionTokens'] = this.actionTokens;
  return json;
}