CustomChannel.fromJson constructor

CustomChannel.fromJson(
  1. Map json_
)

Implementation

CustomChannel.fromJson(core.Map json_)
    : this(
        active:
            json_.containsKey('active') ? json_['active'] as core.bool : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        reportingDimensionId: json_.containsKey('reportingDimensionId')
            ? json_['reportingDimensionId'] as core.String
            : null,
      );