IssuerProperty constructor

IssuerProperty({
  1. String? id,
  2. String? name,
  3. dynamic styles,
})

Implementation

IssuerProperty({String? id, this.name, this.styles})
    : id = id ?? Uuid().v4() {
  if (styles != null) {
    if (styles is! String || styles is! EntityStyles) {
      throw Exception('unexpected Datatype for styles property');
    }
  }
}