Locked constructor

Locked({
  1. String? owner,
  2. bool? value,
})

Constructor for creating a Locked object.

The constructor initializes a Locked object with optional named parameters:

  • owner: The owner attribute value of the locked status.
  • value: The value of the locked status represented as a boolean.

Implementation

Locked({
  this.owner,
  this.value,
});