RealtimeMatch class abstract

Inheritance

Constructors

RealtimeMatch({required String matchId, required bool authoritative, required String label, required int size, int? tickRate, String? handlerName, required List<UserPresence> presences})
factory
RealtimeMatch.fromJson(Map<String, dynamic> json)
factory

Properties

authoritative bool
no setter
copyWith → _$$RealtimeMatchImplCopyWith<_$RealtimeMatchImpl>
no setter
handlerName String?
no setter
hashCode int
The hash code for this object.
no setterinherited
label String
no setter
matchId String
no setter
presences List<UserPresence>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
no setter
tickRate int?
no setter

Methods

map<TResult extends Object?>(TResult $default(_Match value), {required TResult realtime(RealtimeMatch value)}) → TResult
inherited
mapOrNull<TResult extends Object?>(TResult? $default(_Match value)?, {TResult? realtime(RealtimeMatch value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>(TResult $default(_Match value)?, {TResult realtime(RealtimeMatch value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>(TResult $default(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName)?, {TResult realtime(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName, List<UserPresence> presences)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName), {required TResult realtime(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName, List<UserPresence> presences)}) → TResult
inherited
whenOrNull<TResult extends Object?>(TResult? $default(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName)?, {TResult? realtime(String matchId, bool authoritative, String label, int size, int? tickRate, String? handlerName, List<UserPresence> presences)?}) → TResult?
inherited

Operators

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