ChangeBase.of constructor

ChangeBase.of({
  1. required String operation,
  2. required String path,
  3. String? from,
})

Implementation

ChangeBase.of({required String operation, required String path, String? from})
    : super(<String, dynamic>{}, mtype: ChangeRef) {
  this.operation = operation;
  this.path = path;
  if (from != null) this.from = from;
}