pickNetworkTypeByPrefix static method

Network pickNetworkTypeByPrefix(
  1. NetworkId networkPrefix
)

Implementation

static Network pickNetworkTypeByPrefix(NetworkId networkPrefix) =>
    NetworkType.all.where((_) => _.networkPrefix == networkPrefix).first;