EnumDefinition class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

EnumDefinition.new({required String value, String? name, String? documentation, List<String> tags = const [], bool? deprecated})
const
EnumDefinition.fromJson(Map<String, Object?> json)
factory

Properties

deprecated bool?
final
documentation String?
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
props List<Object?>
The type's equatable properties.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
final
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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