MysqlLogPosition.fromJson constructor

MysqlLogPosition.fromJson(
  1. Map json_
)

Implementation

MysqlLogPosition.fromJson(core.Map json_)
    : this(
        logFile: json_.containsKey('logFile')
            ? json_['logFile'] as core.String
            : null,
        logPosition: json_.containsKey('logPosition')
            ? json_['logPosition'] as core.int
            : null,
      );