toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.options != null) {
    json[r'options'] = this.options;
  } else {
    json[r'options'] = null;
  }
  if (this.sessionId != null) {
    json[r'session_id'] = this.sessionId;
  } else {
    json[r'session_id'] = null;
  }
  return json;
}