toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (consumerId != null) 'consumerId': consumerId!,
      if (labels != null) 'labels': labels!,
      if (methodName != null) 'methodName': methodName!,
      if (operationId != null) 'operationId': operationId!,
      if (quotaMetrics != null) 'quotaMetrics': quotaMetrics!,
      if (quotaMode != null) 'quotaMode': quotaMode!,
    };