GoogleCloudDialogflowCxV3TransitionRouteGroup.fromJson constructor

GoogleCloudDialogflowCxV3TransitionRouteGroup.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3TransitionRouteGroup.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        transitionRoutes: json_.containsKey('transitionRoutes')
            ? (json_['transitionRoutes'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3TransitionRoute.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );