URLAvatar class

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

Constructors

URLAvatar({String? type, String? customUrl})
const
URLAvatar.fromJson(Map<String, dynamic> json)
factory

Properties

customUrl String?
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
final

Methods

copyWith({String? type, String? customUrl}) URLAvatar

Available on URLAvatar, provided by the $URLAvatarExtension extension

copyWithWrapped({Wrapped<String?>? type, Wrapped<String?>? customUrl}) URLAvatar

Available on URLAvatar, provided by the $URLAvatarExtension 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 URLAvatar Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(URLAvatar instance)