TokenCardNetworks.fromJson constructor

TokenCardNetworks.fromJson(
  1. Object? json
)

Implementation

factory TokenCardNetworks.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TokenCardNetworks(
      preferred:
          map['preferred'] == null ? null : (map['preferred'] as String));
}