toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() {
  return {
    if (subject != null) 'subject': subject,
    if (description != null) 'description': description,
    if (apiService != null) 'apiService': apiService,
    if (quotaMetric != null) 'quotaMetric': quotaMetric,
    if (quotaId != null) 'quotaId': quotaId,
    if (quotaDimensions != null) 'quotaDimensions': quotaDimensions,
    if (quotaValue != null) 'quotaValue': encodeInt64(quotaValue),
    if (futureQuotaValue != null)
      'futureQuotaValue': encodeInt64(futureQuotaValue),
  };
}