asDomainMatch

Converts a DbMatch instance to a domain model Match.

This function maps the database match entity to a more general Match model used throughout the app. It includes converting the embedded database team entities to domain team models.

Return

A Match instance containing the domain model representation of this database match.