Capability constructor Null safety

Capability(
  1. String name
)

Implementation

Capability(String name) {
  this.name = name;
}