DefaultSinkConfig.fromJson constructor

DefaultSinkConfig.fromJson(
  1. Map json_
)

Implementation

DefaultSinkConfig.fromJson(core.Map json_)
    : this(
        exclusions: json_.containsKey('exclusions')
            ? (json_['exclusions'] as core.List)
                .map((value) => LogExclusion.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
      );