ConsolidationStrategy.fromJson constructor

ConsolidationStrategy.fromJson(
  1. Map json_
)

Implementation

ConsolidationStrategy.fromJson(core.Map json_)
    : this(
        legacy: json_.containsKey('legacy')
            ? Legacy.fromJson(
                json_['legacy'] as core.Map<core.String, core.dynamic>)
            : null,
        none: json_.containsKey('none')
            ? NoConsolidation.fromJson(
                json_['none'] as core.Map<core.String, core.dynamic>)
            : null,
      );