toJson method

Map<String, dynamic> toJson()

Implementation

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