TokenData constructor

TokenData(
  1. String collection,
  2. String description,
  3. String name,
  4. int? maximum,
  5. int supply,
  6. String uri,
  7. Map defaultProperties,
  8. Map mutabilityConfig,
)

Implementation

TokenData(
  this.collection,
  this.description,
  this.name,
  this.maximum,
  this.supply,
  this.uri,
  Map defaultProperties,
  Map mutabilityConfig
) {
  this.defaultProperties = deserializePropertyMap(defaultProperties);
  this.mutabilityConfig = mutabilityConfig.values.toList().cast<bool>();
}