toJson method

Map<String, dynamic> toJson()

Implementation

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