Field constructor

Field({
  1. int? contextsCount,
  2. String? description,
  3. required String id,
  4. bool? isLocked,
  5. bool? isUnscreenable,
  6. String? key,
  7. FieldLastUsed? lastUsed,
  8. required String name,
  9. int? projectsCount,
  10. required JsonTypeBean schema,
  11. int? screensCount,
  12. String? searcherKey,
})

Implementation

Field(
    {this.contextsCount,
    this.description,
    required this.id,
    bool? isLocked,
    bool? isUnscreenable,
    this.key,
    this.lastUsed,
    required this.name,
    this.projectsCount,
    required this.schema,
    this.screensCount,
    this.searcherKey})
    : isLocked = isLocked ?? false,
      isUnscreenable = isUnscreenable ?? false;