toJson method
Implementation
Map<String, dynamic> toJson() {
// ignore: unnecessary_cast
return {
'isAbstract': this.isAbstract,
'isMethod': this.isMethod,
'type': this.type,
'initializerName': this.initializerName,
} as Map<String, dynamic>;
}