Credit constructor

Credit({
  1. String? role,
  2. String? scheme,
  3. String? value,
})

Constructor for the Credit class.

The constructor initializes a Credit object with optional named parameters:

  • role: The role attribute of the credit.
  • scheme: The scheme attribute of the credit.
  • value: The value of the credit.

All parameters are optional and can be set to null if not provided.

Implementation

Credit({
  this.role,
  this.scheme,
  this.value,
});