SnapPublisher class

Describes a snap publisher.

Annotations
  • @immutable
  • @JsonSerializable()

Constructors

SnapPublisher({String id = '', String username = '', String displayName = '', String? validation})
const
SnapPublisher.fromJson(Map<String, dynamic> json)
factory

Properties

displayName String
Name to use when displaying this publisher.
final
hashCode int
The hash code for this object.
no setteroverride
id String
Unique ID for this publisher.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
username String
Unique username for this publisher.
final
validation String?
Validation level for this publisher.
final

Methods

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