baseCode property
String?
get
baseCode
Implementation
String? get baseCode {
final self = this;
if (self == null) return null;
if (self is HasBaseCode) {
return self.baseCode;
} else if (self is String) {
return self;
}
return illegalState("Must be HasBaseCode to get baseCode");
}