typeInfo property
String?
typeInfo
Implementation
String? get typeInfo {
if (_typeRecords.isNotEmpty) {
return _typeRecords[0].typeInfo;
} else {
return null;
}
}
Implementation
set typeInfo(String? typeInfo) {
if (_typeRecords.isNotEmpty) {
_typeRecords[0] = TypeRecord(typeInfo: typeInfo);
} else {
addTypeRecord(TypeRecord(typeInfo: typeInfo));
}
}