toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      _JsonFields.error: error,
      _JsonFields.stackTrace: stackTrace,
    };