Badge class

Inheritance

Constructors

Badge.new({String? id, String? createdAt, String? updatedAt, required String name, required String nameEs, required String nameCa, required String group, required String groupEs, required String groupCa, required String description, required String descriptionEs, required String descriptionCa, required bool enabled, required String? imageUrl})
Badge.fromJson(Map<String, dynamic> data)
factory

Properties

createdAt DateTime
getter/setter pairinherited
description String
final
descriptionCa String
final
descriptionEs String
final
enabled bool
final
group String
final
groupCa String
final
groupEs String
final
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
imageUrl String?
final
name String
final
nameCa String
final
nameEs String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime
getter/setter pairinherited

Methods

equals(Entity other) bool
inherited
getDescriptionForLocale(Locale locale) String
Returns the description for the current locale, if locale is not handled it will return name
getNameForLocale(Locale locale) String
Returns the name for the current locale, if locale is not handled it will return name
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