Account.fromJson constructor

Account.fromJson(
  1. Map json_
)

Implementation

Account.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        features: json_.containsKey('features')
            ? AccountFeatures.fromJson(
                json_['features'] as core.Map<core.String, core.dynamic>)
            : null,
        fingerprint: json_.containsKey('fingerprint')
            ? json_['fingerprint'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        shareData: json_.containsKey('shareData')
            ? json_['shareData'] as core.bool
            : null,
        tagManagerUrl: json_.containsKey('tagManagerUrl')
            ? json_['tagManagerUrl'] as core.String
            : null,
      );