CdcStrategy.fromJson constructor

CdcStrategy.fromJson(
  1. Map json_
)

Implementation

CdcStrategy.fromJson(core.Map json_)
    : this(
        mostRecentStartPosition: json_.containsKey('mostRecentStartPosition')
            ? MostRecentStartPosition.fromJson(
                json_['mostRecentStartPosition']
                    as core.Map<core.String, core.dynamic>)
            : null,
        nextAvailableStartPosition:
            json_.containsKey('nextAvailableStartPosition')
                ? NextAvailableStartPosition.fromJson(
                    json_['nextAvailableStartPosition']
                        as core.Map<core.String, core.dynamic>)
                : null,
        specificStartPosition: json_.containsKey('specificStartPosition')
            ? SpecificStartPosition.fromJson(json_['specificStartPosition']
                as core.Map<core.String, core.dynamic>)
            : null,
      );