readSnippet method
Retrieves your snippet from a Square Online site.
A site can contain snippets from multiple snippet applications, but you can retrieve only the snippet that was added by your application.
Implementation
Future<Snippet> readSnippet({
required String siteId,
String? authToken,
}) async {
return _onlineService.readSnippet(siteId: siteId, authToken: authToken);
}