Backwards-compatible alias for toMap() used elsewhere in the project.
toMap()
Map<String, dynamic> asMap() => toMap();