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,
      );