AgentBan class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

AgentBan({required int atUnix, dynamic reason, required BanReasonType reasonType})
const
AgentBan.fromJson(Map<String, dynamic> json)
factory

Properties

atUnix int
final
hashCode int
The hash code for this object.
no setteroverride
reason → dynamic
final
reasonType BanReasonType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? atUnix, dynamic reason, BanReasonType? reasonType}) AgentBan

Available on AgentBan, provided by the $AgentBanExtension extension

copyWithWrapped({Wrapped<int>? atUnix, Wrapped? reason, Wrapped<BanReasonType>? reasonType}) AgentBan

Available on AgentBan, provided by the $AgentBanExtension extension

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

Operators

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

Constants

fromJsonFactory → const AgentBan Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(AgentBan instance)