CreateManagedShortLinkRequest.fromJson constructor

CreateManagedShortLinkRequest.fromJson(
  1. Map _json
)

Implementation

CreateManagedShortLinkRequest.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,
        name: _json.containsKey('name') ? _json['name'] 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,
      );