Partner class

Annotations
  • @freezed

Constructors

Partner({required int id, required String name, required String email, required bool active, @JsonKey(name: 'im_status') required String imStatus, @JsonKey(name: 'is_internal_user', defaultValue: false) required bool isInternalUser, @JsonKey(name: 'user_id') int? userId, @JsonKey(name: 'display_name') String? displayName})
const
factory
Partner.fromJson(Map<String, dynamic> json)
factory

Properties

active bool
no setterinherited
copyWith → $PartnerCopyWith<Partner>
no setterinherited
displayName String?
no setterinherited
email String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
imStatus String
no setterinherited
isInternalUser bool
no setterinherited
name String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId int?
no setterinherited

Methods

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

Operators

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