beforeSave method

dynamic beforeSave(
  1. bool isNew
)

Called automatically before this model saving in db.

Implementation

beforeSave(bool isNew) async {}