ModelRelation.create constructor
ModelRelation.create(})
Implementation
ModelRelation.create(this.id, String? name,
{String? targetId,
String? targetName,
int? externalType,
String? externalName,
this.uidRequest = false}) {
this.name = name;
if (targetId != null) this.targetId = IdUid.fromString(targetId);
if (targetName != null) this.targetName = targetName;
if (externalType != null) {
this.externalType = externalType;
}
if (externalName != null) {
this.externalName = externalName;
}
}