SteamField class
Field definition for steam api
- Available extensions
Constructors
- SteamField.new({required String name, required String type, bool private = false})
- Creates a SteamField. This constructor is used for manual SteamField creation
-
SteamField.fromJson(Map<
String, dynamic> json) - Creates a SteamField from json
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
name of the field
getter/setter pair
- private ↔ bool
-
whether it is private
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
c type of the field
getter/setter pair
Methods
-
generate(
{required IOSink fileSink}) → void -
Available on SteamField, provided by the SteamFieldExtensions extension
Generates necessary code for a SteamField -
generateFieldAccess(
{required IOSink fileSink}) → void -
Available on SteamField, provided by the SteamFieldExtensions extension
Generates necessary code for accessing a field over .ref -
generateImport(
{required IOSink fileSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}, Set<String> interfaceSet = const {}}) → void -
Available on SteamField, provided by the SteamFieldExtensions extension
Generates necessary import for a SteamField -
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