toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final endIndex = this.endIndex;
final startIndex = this.startIndex;
final type = this.type;
return {'endIndex': ?endIndex, 'startIndex': ?startIndex, 'type': ?type};
}