copyWith method

PermissionGrants copyWith({
  1. String? expand,
  2. List<PermissionGrant>? permissions,
})

Implementation

PermissionGrants copyWith(
    {String? expand, List<PermissionGrant>? permissions}) {
  return PermissionGrants(
    expand: expand ?? this.expand,
    permissions: permissions ?? this.permissions,
  );
}