RealtimeError class

A realtime error.

Annotations
  • @immutable

Constructors

RealtimeError({required String type, String? code, required String message, String? param, String? eventId})
Creates a RealtimeError.
const
RealtimeError.fromJson(Map<String, dynamic> json)
Creates a RealtimeError from JSON.
factory

Properties

code String?
The error code.
final
eventId String?
The event ID that caused the error.
final
hashCode int
The hash code for this object.
no setteroverride
message String
The error message.
final
param String?
The parameter that caused the error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The error type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override