getContextInfo method

Map<String, dynamic>? getContextInfo()

Gets the contextual information associated with the notification. If no context information is available, return an empty Map.

Implementation

Map<String, dynamic>? getContextInfo() {
  if (contextInfo == null) {
    return Map();
  }
  return jsonDecode(contextInfo!);
}