of static method
RefProperty
of({
- required String? type,
- required String? path,
- required String? label,
- String? description,
- Uri? uri,
- String? baseCode,
- bool? isRequired = false,
- required MSchemaRef? theRef,
- bool? mkeyOnly = false,
override
Implementation
static RefProperty of({
required String? type,
required String? path,
required String? label,
String? description,
Uri? uri,
String? baseCode,
bool? isRequired = false,
required MSchemaRef? theRef,
bool? mkeyOnly = false
}) {
final self = RefProperty(<String, dynamic>{}, mtype: RefPropertyRef, update: true);
if (type != null) self.type = type;
if (path != null) self.path = path;
if (label != null) self.label = label;
if (description != null) self.description = description;
if (uri != null) self.uri = uri;
if (baseCode != null) self.baseCode = baseCode;
if (isRequired != null) self.isRequired = isRequired;
if (theRef != null) self.theRef = theRef;
if (mkeyOnly != null) self.mkeyOnly = mkeyOnly;
return self;
}