toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final endUrl = this.endUrl;
  final startUrl = this.startUrl;
  return {
    if (endUrl != null) 'EndUrl': endUrl,
    if (startUrl != null) 'StartUrl': startUrl,
  };
}