toJson method
Returns a JSON presentation of the object.
Implementation
@override
Map<String, Object> toJson() {
var result = <String, Object>{};
result['offset'] = offset;
result['length'] = length;
var superclassMember = this.superclassMember;
if (superclassMember != null) {
result['superclassMember'] = superclassMember.toJson();
}
var interfaceMembers = this.interfaceMembers;
if (interfaceMembers != null) {
result['interfaceMembers'] = interfaceMembers
.map((OverriddenMember value) => value.toJson())
.toList();
}
return result;
}