toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (approvedPermissions != null)
        'approvedPermissions': approvedPermissions!,
      if (productId != null) 'productId': productId!,
      if (requestedPermissions != null)
        'requestedPermissions': requestedPermissions!,
    };