toJson method

Map<String, dynamic> toJson()

Implementation

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