MigrationFunction<T> typedef

MigrationFunction<T> = T Function(Map<String, dynamic> oldData, int fromVersion, int toVersion)

Migration function type

Implementation

typedef MigrationFunction<T> = T Function(Map<String, dynamic> oldData, int fromVersion, int toVersion);