OrganizationWithLogo class

Constructors

OrganizationWithLogo.new({required OrganizationWithLogoObjectEnum object, required String id, required String name, required String slug, int? membersCount, bool? missingMemberWithElevatedPermissions, int? pendingInvitationsCount, required int maxAllowedMemberships, required bool adminDeleteEnabled, Map<String, Object> publicMetadata = const {}, Map<String, Object> privateMetadata = const {}, String? createdBy, required int createdAt, required int updatedAt, String? logoUrl, required String imageUrl, required bool hasImage})
Returns a new OrganizationWithLogo instance.

Properties

adminDeleteEnabled bool
getter/setter pair
createdAt int
Unix timestamp of creation.
getter/setter pair
createdBy String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hasImage bool
getter/setter pair
id String
getter/setter pair
imageUrl String
getter/setter pair
logoUrl String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
maxAllowedMemberships int
getter/setter pair
membersCount int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
missingMemberWithElevatedPermissions bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
name String
getter/setter pair
object OrganizationWithLogoObjectEnum
getter/setter pair
pendingInvitationsCount int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
privateMetadata Map<String, Object>
getter/setter pair
publicMetadata Map<String, Object>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
getter/setter pair
updatedAt int
Unix timestamp of last update.
getter/setter pair

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.
override

Operators

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

Static Methods

fromJson(dynamic value) OrganizationWithLogo?
Returns a new OrganizationWithLogo instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<OrganizationWithLogo>
mapFromJson(dynamic json) Map<String, OrganizationWithLogo>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<OrganizationWithLogo>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.