get method
Gets detailed information about a ringtone.
withMetadata - Whether to include metadata.
Implementation
Future<Ringtone?> get(String ringtoneUri, {bool withMetadata = true}) async =>
JsonHelpers.decode(
await _invoke<Map>('ringtones.get', {
'ringtoneUri': ringtoneUri,
'withMetadata': withMetadata,
}),
Ringtone.fromJson,
);