fromPersists method Null safety

void fromPersists(
  1. String persists
)

Implementation

void fromPersists(String persists) {
  final map = jsonDecode(persists);
  declarations = Declarations.fromMap(map);
  declarations.tables.forEach((tableName, tableDeclaration) {
    queryTables[tableDeclaration.className] = tableDeclaration;
  });
}