There is two solutions:
- adding setter
- change declaration to getter (from
abstract str: string;
toabstract get str(): string;
CLICK HERE to find out more related problems solutions.
There is two solutions:
abstract str: string;
to abstract get str(): string;
CLICK HERE to find out more related problems solutions.