snapshot.pbenum library Null safety