loadVersion method
Version version of id, or null when there's none.
Implementation
@override
Future<ManagedComponentVersion?> loadVersion(String id, int version) async {
final doc = await firestore.collection(kManagedComponentsCollection).doc(id).collection('versions').doc('$version').get();
final data = doc.data();
return data == null ? null : ManagedComponentVersion.fromJson(data, id: id, version: version);
}