AccountWarning.fromJson constructor

AccountWarning.fromJson(
  1. Map _json
)

Implementation

AccountWarning.fromJson(core.Map _json)
    : this(
        email:
            _json.containsKey('email') ? _json['email'] as core.String : null,
        loginDetails: _json.containsKey('loginDetails')
            ? LoginDetails.fromJson(
                _json['loginDetails'] as core.Map<core.String, core.dynamic>)
            : null,
      );