isTestChain function

bool isTestChain(
  1. String value
)

Implementation

bool isTestChain(String value) {
  return RegExp(r'(Development|(Local Testnet))$').hasMatch(value);
}