setPushMetaData static method
void
setPushMetaData(})
Implementation
static void setPushMetaData(
Map<String, dynamic> pushMetaData, {
bool isAnswer = false,
bool isDecline = false,
}) {
final Map<String, dynamic> metaData = jsonDecode(pushMetaData['metadata']);
metaData['isAnswer'] = isAnswer;
metaData['isDecline'] = isDecline;
PreferencesStorage.saveMetadata(jsonEncode(metaData));
}