GtagConfig.fromJson constructor

GtagConfig.fromJson(
  1. Map json_
)

Implementation

GtagConfig.fromJson(core.Map json_)
  : this(
      accountId: json_['accountId'] as core.String?,
      containerId: json_['containerId'] as core.String?,
      fingerprint: json_['fingerprint'] as core.String?,
      gtagConfigId: json_['gtagConfigId'] as core.String?,
      parameter:
          (json_['parameter'] as core.List?)
              ?.map(
                (value) => Parameter.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      path: json_['path'] as core.String?,
      tagManagerUrl: json_['tagManagerUrl'] as core.String?,
      type: json_['type'] as core.String?,
      workspaceId: json_['workspaceId'] as core.String?,
    );