toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiResources != null) 'apiResources': apiResources!,
      if (approvalType != null) 'approvalType': approvalType!,
      if (attributes != null) 'attributes': attributes!,
      if (createdAt != null) 'createdAt': createdAt!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (environments != null) 'environments': environments!,
      if (graphqlOperationGroup != null)
        'graphqlOperationGroup': graphqlOperationGroup!,
      if (grpcOperationGroup != null)
        'grpcOperationGroup': grpcOperationGroup!,
      if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
      if (name != null) 'name': name!,
      if (operationGroup != null) 'operationGroup': operationGroup!,
      if (proxies != null) 'proxies': proxies!,
      if (quota != null) 'quota': quota!,
      if (quotaCounterScope != null) 'quotaCounterScope': quotaCounterScope!,
      if (quotaInterval != null) 'quotaInterval': quotaInterval!,
      if (quotaTimeUnit != null) 'quotaTimeUnit': quotaTimeUnit!,
      if (scopes != null) 'scopes': scopes!,
    };