toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.nextAction != null) {
    json[r'next_action'] = this.nextAction;
  } else {
    json[r'next_action'] = null;
  }
  json[r'supported_strategies'] = this.supportedStrategies;
  return json;
}