toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "@type": CONSTRUCTOR,
    "type": this.type == null ? null : this.type.toJson(),
    "message": this.message,
    "source": this.source == null ? null : this.source.toJson(),
  };
}