WebpushFcmOptions.fromJson constructor

WebpushFcmOptions.fromJson(
  1. Map json_
)

Implementation

WebpushFcmOptions.fromJson(core.Map json_)
    : this(
        analyticsLabel: json_.containsKey('analyticsLabel')
            ? json_['analyticsLabel'] as core.String
            : null,
        link: json_.containsKey('link') ? json_['link'] as core.String : null,
      );