ConflictData.fromJson constructor

ConflictData.fromJson(
  1. ModelType<Model> modelType,
  2. Map<String, dynamic> localJson,
  3. Map<String, dynamic> remoteJson
)

Implementation

ConflictData.fromJson(
  ModelType modelType,
  Map<String, dynamic> localJson,
  Map<String, dynamic> remoteJson,
)   : local = modelType.fromJson(localJson),
      remote = modelType.fromJson(remoteJson);