Token constructor

const Token({
  1. String? address,
  2. String? genesis,
  3. String? name,
  4. String? id,
  5. int? supply,
  6. String? type,
  7. int? decimals,
  8. String? symbol,
  9. @Default({}) Map<String, dynamic> properties,
  10. @Default([]) List<Map<String, dynamic>> collection,
  11. @Default([]) List<int>? aeip,
  12. @Default([]) List<Ownership>? ownerships,
})

Implementation

const factory Token({
  String? address,
  String? genesis,
  String? name,
  String? id,
  int? supply,
  String? type,
  int? decimals,
  String? symbol,
  @Default({}) final Map<String, dynamic> properties,
  @Default([]) final List<Map<String, dynamic>> collection,
  @Default([]) final List<int>? aeip,
  @Default([]) final List<Ownership>? ownerships,
}) = _Token;