toJson method

Map<String, dynamic> toJson()

Implementation

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