toReplicaMode method
Implementation
ReplicaMode toReplicaMode() {
switch (this) {
case 'open-read-only':
return ReplicaMode.openReadOnly;
case 'mounted':
return ReplicaMode.mounted;
}
throw Exception('$this is not known in enum ReplicaMode');
}