ObjcOptions class

Options that control how Objective-C code will be generated.

Constructors

ObjcOptions({String? headerIncludePath, String? prefix, Iterable<String>? copyrightHeader, String? fileSpecificClassNameComponent})
Parametric constructor for ObjcOptions.
const

Properties

copyrightHeader Iterable<String>?
A copyright header that will get prepended to generated code.
final
fileSpecificClassNameComponent String?
A String to augment class names to avoid cross file collisions.
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
prefix String?
Prefix that will be appended before all generated classes and protocols.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

merge(ObjcOptions options) ObjcOptions
Overrides any non-null parameters from options into this to make a new ObjcOptions.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object>
Converts a ObjcOptions to a Map representation where: x = ObjcOptions.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) ObjcOptions
Creates a ObjcOptions from a Map representation where: x = ObjcOptions.fromMap(x.toMap()).