networkIdString function

String networkIdString(
  1. NetworkId id
)

Implementation

String networkIdString(NetworkId id) {
  switch (id) {
    case 0x01:
      return 'toplnet';
    case 0x10:
      return 'valhalla';
    case 0x40:
      return 'private';
    default:
      return 'custom';
  }
}