OptimovePushNotification.fromMap constructor

OptimovePushNotification.fromMap(
  1. Map<String, dynamic> map
)

Implementation

OptimovePushNotification.fromMap(Map<String, dynamic> map)
    : title = map['title'],
      message = map['message'],
      data = map['data'] != null ? Map<String, dynamic>.from(map['data']) : null,
      url = map['url'],
      actionId = map['actionId'];