toJson method

Map<String, dynamic> toJson()

Implementation

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