SteamEnum class

Enum definition for steam api

Available extensions

Constructors

SteamEnum.new({required String name, required List<SteamEnumValue> values, String? fqName = ""})
Creates a SteamEnum. This constructor is used for manual SteamEnum creation
SteamEnum.fromJson(Map<String, dynamic> json)
Creates a SteamEnum from json

Properties

fqName String?
full qualified name of the enum
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
name of the enum
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<SteamEnumValue>
List of values that enum holds
getter/setter pair

Methods

generate({required IOSink fileSink}) → void

Available on SteamEnum, provided by the SteamEnumExtensions extension

Generates necessary code for a SteamEnum
generateFile({required String path, required IOSink exportSink}) Future<void>

Available on SteamEnum, provided by the SteamEnumExtensions extension

Creates a file for the SteamEnum and generates respective code
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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