toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'resource': resource.toJson(),
  'access_grants': accessGrants.map((grant) => grant.toJson()).toList(),
  'continuation_token': ?continuationToken,
};