Organization class

Constructors

Organization.new({required String orgId, required String name, required bool isOwner, required bool isAdmin, required bool isVerified, required Map<String, dynamic> config, required List<OrgQuota> quotas})
const
Organization.fromOrgUser(OrgUser orgUser)
factory
Organization.invalid()
factory

Properties

config Map<String, dynamic>
final
hashCode int
The hash code for this object.
no setterinherited
isAdmin bool
final
isOwner bool
final
isVerified bool
final
name String
final
orgId String
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
quotas List<OrgQuota>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
valid bool
no setter

Methods

copyWith({String? orgId, String? name, bool? isOwner, bool? isAdmin, bool? isVerified, Map<String, dynamic>? config, List<OrgQuota>? quotas}) Organization
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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