getFileName method Null safety

  1. @visibleForTesting
String getFileName(
  1. String id,
  2. SnapshotType type
)

Implementation

@visibleForTesting
static String getFileName(String id, SnapshotType type) {
  final ext = getExtenstion(type);
  return '$id.$ext';
}