fromJson static method
Implementation
static DatabaseMigrationActionType? fromJson(String name) {
switch (name) {
case 'createTable':
return createTable;
case 'createTableIfNotExists':
return createTableIfNotExists;
case 'deleteTable':
return deleteTable;
case 'alterTable':
return alterTable;
default:
return null;
}
}