SteamEnumValue class

EnumValue definition for steam api

Available extensions

Constructors

SteamEnumValue.new({required String name, required int value})
Creates a SteamEnumValue. This constructor is used for manual SteamEnumValue creation
SteamEnumValue.fromJson(Map<String, dynamic> json)
Creates a SteamEnumValue from json

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
name of the enum value
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
value of the enum value
getter/setter pair

Methods

generate({required IOSink fileSink, required String enumName, required int nameIndex}) → void

Available on SteamEnumValue, provided by the SteamEnumValueExtensions extension

Generates necessary code for a SteamEnumValue
generateSwitch({required IOSink fileSink, required String enumName, required int nameIndex}) → void

Available on SteamEnumValue, provided by the SteamEnumValueExtensions extension

Generated necessary code for factory consturctor of SteamEnumValue in order to generate enum from a value
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