JanusError class Null safety

Constructors

JanusError({required int errorCode, required String error, required String pluginName})
JanusError.fromMap(Map<String, dynamic> map)
factory

Properties

error String
read / write
errorCode int
read / write
hashCode int
The hash code for this object. [...]
read-only, override
pluginName String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({int? errorCode, String? error, String? pluginName}) JanusError
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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

Static Methods

throwErrorFromEvent(JanusEvent response) → dynamic