canMine method

bool canMine(
  1. String state
)

Implementation

bool canMine(String state) {
  var identityStatus1 = [
    IdentityStatus.Human,
    IdentityStatus.Verified,
    IdentityStatus.Newbie
  ];
  return (identityStatus1.contains(state));
}