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