toJson method

Map<String, dynamic> toJson()

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>;
}