updateWith method

void updateWith(
  1. Model? other
)

Updates the fields of the Model with the fields from the other Model.

Implementation

void updateWith(Model? other) => this.updateWithJson(other?.toJson());