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,
      );