isAdopted property
bool
get
isAdopted
Get a boolean to know if the Law project is adopted or not
Implementation
bool get isAdopted {
if ((this.uuid ?? "-").contains("BTA") ||
(this.uuid ?? "-").contains("BTS") ||
(this.uuid ?? "-").contains("BTC") ||
(this.uuid ?? "-").contains("BTG")) {
return true;
}
return false;
}