ReplicationInfo.fromJSON constructor

ReplicationInfo.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory ReplicationInfo.fromJSON(Map<String, dynamic> data) {
	return ReplicationInfo(
		pendingFrom: (data["pendingFrom"] as int?),
		pendingTo: (data["pendingTo"] as int?),
		active: (data["active"] as bool),
		running: (data["running"] as bool)
	);
}