getNetworkIdentifier method
Implementation
Future<void> getNetworkIdentifier() async {
final networkList = await networksList();
networkIdentifier = networkList.networkIdentifiers.singleWhere(
(rosetta.NetworkIdentifier id) => id.blockchain == 'Internet Computer',
orElse: () => throw StateError('No identifier found.'),
);
}