save method

void save()

Implementation

void save() {
  Preferences.setString(
    '${ApConstants.packageName}'
    'semester_data',
    toRawJson(),
  );
}