Organization class

Constructors

Organization({OrganizationLinks? links, String? id, required String? name, String? description, DateTime? createdAt, DateTime? updatedAt, OrganizationStatusEnum? status = const OrganizationStatusEnum._('active')})
Returns a new Organization instance.

Properties

createdAt DateTime?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
getter/setter pair
getter/setter pair
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status OrganizationStatusEnum?
If inactive the organization is inactive.
getter/setter pair
updatedAt DateTime?
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) Organization
Returns a new Organization instance and imports
listFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) List<Organization>?
mapFromJson(dynamic json) Map<String, Organization?>
mapListFromJson(dynamic json, {bool? emptyIsNull, bool? growable}) Map<String, List<Organization?>?>