Profile class

A user's profile information.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

Profile({String? id, String? userId, String? name, bool? active, bool? isDefault, DateTime? createdAt, bool? hasMargin})
Profile.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
final
createdAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
hasMargin bool?
final
id String?
final
isDefault bool?
final
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
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.
inherited

Operators

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