UserPermission constructor

UserPermission({
  1. bool? deprecatedKey,
  2. String? description,
  3. bool? havePermission,
  4. String? id,
  5. String? key,
  6. String? name,
  7. UserPermissionType? type,
})

Implementation

UserPermission(
    {bool? deprecatedKey,
    this.description,
    bool? havePermission,
    this.id,
    this.key,
    this.name,
    this.type})
    : deprecatedKey = deprecatedKey ?? false,
      havePermission = havePermission ?? false;