GuestAttributes.fromJson constructor

GuestAttributes.fromJson(
  1. Map json_
)

Implementation

GuestAttributes.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        queryPath: json_.containsKey('queryPath')
            ? json_['queryPath'] as core.String
            : null,
        queryValue: json_.containsKey('queryValue')
            ? GuestAttributesValue.fromJson(
                json_['queryValue'] as core.Map<core.String, core.dynamic>)
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        variableKey: json_.containsKey('variableKey')
            ? json_['variableKey'] as core.String
            : null,
        variableValue: json_.containsKey('variableValue')
            ? json_['variableValue'] as core.String
            : null,
      );