@override Object toJson() => { 'resource': resource, 'testPermissionsRequestResource': ?testPermissionsRequestResource?.toJson(), };