UserViewModel class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

UserViewModel.new({String? id, String? name, String? bio, String? city, String? givenName, String? familyName, String? profilePictureUrl})
UserViewModel.fromJson(Map<String, dynamic> json)
factory

Properties

bio String?
final
city String?
final
familyName String?
final
givenName String?
final
hashCode int
The hash code for this object.
no setteroverride
id String?
final
name String?
final
profilePictureUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? name, String? bio, String? city, String? givenName, String? familyName, String? profilePictureUrl}) UserViewModel

Available on UserViewModel, provided by the $UserViewModelExtension 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.
inherited

Operators

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

Constants

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