fromMap static method
Creates a GObjectOptions from a Map representation where:
x = GObjectOptions.fromMap(x.toMap())
.
Implementation
static GObjectOptions fromMap(Map<String, Object> map) {
final Iterable<dynamic>? copyrightHeader =
map['copyrightHeader'] as Iterable<dynamic>?;
return GObjectOptions(
headerIncludePath: map['header'] as String?,
module: map['module'] as String?,
copyrightHeader: copyrightHeader?.cast<String>(),
headerOutPath: map['gobjectHeaderOut'] as String?,
);
}