toJson method
Implementation
Map<String, dynamic> toJson() {
final beginMarker = this.beginMarker;
final endMarker = this.endMarker;
return {
if (beginMarker != null) 'BeginMarker': beginMarker,
if (endMarker != null) 'EndMarker': endMarker,
};
}