encode static method

Map<String, dynamic> encode(
  1. ReplicationInfo value
)

Implementation

static Map<String, dynamic> encode(ReplicationInfo value) {
	Map<String, dynamic> entityAsMap = {
		"active" : value.active,
		"running" : value.running,
		"pendingFrom" : value.pendingFrom,
		"pendingTo" : value.pendingTo
	};
	return entityAsMap;
}