ClientSignals.fromJson constructor

ClientSignals.fromJson(
  1. Map _json
)

Implementation

ClientSignals.fromJson(core.Map _json)
    : this(
        appVersion: _json.containsKey('appVersion')
            ? _json['appVersion'] as core.String
            : null,
        languageCode: _json.containsKey('languageCode')
            ? _json['languageCode'] as core.String
            : null,
        platformVersion: _json.containsKey('platformVersion')
            ? _json['platformVersion'] as core.String
            : null,
        timeZone: _json.containsKey('timeZone')
            ? _json['timeZone'] as core.String
            : null,
      );