SyntaxFix
Write A Post
Hire A Developer
Questions
There's one more difference. class can be used to define type properties of computed type only. If you need a stored type property use static instead.
class
static
"You define type properties with the static keyword. For computed type properties for class types, you can use the class keyword instead to allow subclasses to override the superclass’s implementation."