toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (consentList != null) 'consentList': consentList!,
      if (pageSize != null) 'pageSize': pageSize!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (requestAttributes != null) 'requestAttributes': requestAttributes!,
      if (resourceAttributes != null)
        'resourceAttributes': resourceAttributes!,
      if (responseView != null) 'responseView': responseView!,
      if (userId != null) 'userId': userId!,
    };