TenantBadge class

Constructors

TenantBadge({required String id, required String tenantId, required String createdByUserId, required DateTime createdAt, required bool enabled, String? urlId, required double type, required double threshold, required double uses, required String name, required String description, required String displayLabel, required String? displaySrc, required String? backgroundColor, required String? borderColor, required String? textColor, String? cssClass, double? veteranUserThresholdMillis, required bool isAwaitingReprocess, required bool isAwaitingDeletion, String? replacesBadgeId})
Returns a new TenantBadge instance.

Properties

backgroundColor ↔ String?
getter/setter pair
borderColor ↔ String?
getter/setter pair
createdAt ↔ DateTime
getter/setter pair
createdByUserId ↔ String
getter/setter pair
cssClass ↔ String?
getter/setter pair
description ↔ String
getter/setter pair
displayLabel ↔ String
getter/setter pair
displaySrc ↔ String?
getter/setter pair
enabled ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String
getter/setter pair
isAwaitingDeletion ↔ bool
getter/setter pair
isAwaitingReprocess ↔ bool
getter/setter pair
name ↔ String
getter/setter pair
replacesBadgeId ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenantId ↔ String
getter/setter pair
textColor ↔ String?
getter/setter pair
threshold ↔ double
getter/setter pair
type ↔ double
getter/setter pair
urlId ↔ String?
getter/setter pair
uses ↔ double
getter/setter pair
veteranUserThresholdMillis ↔ double?
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) → TenantBadge?
Returns a new TenantBadge instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TenantBadge>
mapFromJson(dynamic json) → Map<String, TenantBadge>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TenantBadge>>

Constants

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