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