of method Null safety

EntityListProperty of(
  1. {required String? type,
  2. required String? path,
  3. required String? label,
  4. String? description,
  5. Uri? uri,
  6. String? baseCode,
  7. bool? isRequired = false,
  8. required MSchemaRef? allItemsRef,
  9. bool? mkeyOnly = false}
)
override

Implementation

static EntityListProperty of({
  required String? type,
  required String? path,
  required String? label,
  String? description,
  Uri? uri,
  String? baseCode,
  bool? isRequired = false,
  required MSchemaRef? allItemsRef,
  bool? mkeyOnly = false
  }) {
  final self = EntityListProperty(<String, dynamic>{}, mtype: EntityListPropertyRef, 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 (allItemsRef != null) self.allItemsRef = allItemsRef;
  if (mkeyOnly != null) self.mkeyOnly = mkeyOnly;
  return self;
}