GoogleFirebaseFcmRegistrationV1Registration.fromJson constructor

GoogleFirebaseFcmRegistrationV1Registration.fromJson(
  1. Map _json
)

Implementation

GoogleFirebaseFcmRegistrationV1Registration.fromJson(core.Map _json)
    : this(
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        token:
            _json.containsKey('token') ? _json['token'] as core.String : null,
        web: _json.containsKey('web')
            ? GoogleFirebaseFcmRegistrationV1Web.fromJson(
                _json['web'] as core.Map<core.String, core.dynamic>)
            : null,
      );