encode static method

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

Implementation

static Map<String, dynamic> encode(DatabaseInitialisation value) {
	Map<String, dynamic> entityAsMap = {
		"users" : value.users?.map((x0) => User.encode(x0)).toList(),
		"healthcareParties" : value.healthcareParties?.map((x0) => HealthcareParty.encode(x0)).toList(),
		"replication" : value.replication == null ? null : Replication.encode(value.replication!),
		"minimumKrakenVersion" : value.minimumKrakenVersion
	};
	return entityAsMap;
}