GObjectOptions class
Options that control how GObject code will be generated.
Constructors
-
GObjectOptions({String? headerIncludePath, String? module, Iterable<
String> ? copyrightHeader, String? headerOutPath}) -
Creates a GObjectOptions object
const
Properties
-
copyrightHeader
→ Iterable<
String> ? -
A copyright header that will get prepended to generated code.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerIncludePath → String?
-
The path to the header that will get placed in the source filed (example:
"foo.h").
final
- headerOutPath → String?
-
The path to the output header file location.
final
- module → String?
-
The module where the generated class will live.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
merge(
GObjectOptions options) → GObjectOptions -
Overrides any non-null parameters from
options
into this to make a new GObjectOptions. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object> -
Converts a GObjectOptions to a Map representation where:
x = GObjectOptions.fromMap(x.toMap())
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, Object> map) → GObjectOptions -
Creates a GObjectOptions from a Map representation where:
x = GObjectOptions.fromMap(x.toMap())
.