toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'frames'] = this.frames;
  if (this.handled != null) {
    json[r'handled'] = this.handled;
  } else {
    json[r'handled'] = null;
  }
  if (this.message != null) {
    json[r'message'] = this.message;
  } else {
    json[r'message'] = null;
  }
  if (this.stack != null) {
    json[r'stack'] = this.stack;
  } else {
    json[r'stack'] = null;
  }
  if (this.type != null) {
    json[r'type'] = this.type;
  } else {
    json[r'type'] = null;
  }
  return json;
}