CreateShortDynamicLinkRequest.fromJson constructor

CreateShortDynamicLinkRequest.fromJson(
  1. Map _json
)

Implementation

CreateShortDynamicLinkRequest.fromJson(core.Map _json)
    : this(
        dynamicLinkInfo: _json.containsKey('dynamicLinkInfo')
            ? DynamicLinkInfo.fromJson(_json['dynamicLinkInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        longDynamicLink: _json.containsKey('longDynamicLink')
            ? _json['longDynamicLink'] as core.String
            : null,
        sdkVersion: _json.containsKey('sdkVersion')
            ? _json['sdkVersion'] as core.String
            : null,
        suffix: _json.containsKey('suffix')
            ? Suffix.fromJson(
                _json['suffix'] as core.Map<core.String, core.dynamic>)
            : null,
      );