SkippedVersionRow.fromJson constructor

SkippedVersionRow.fromJson(
  1. Map<String, dynamic> json, {
  2. ValueSerializer? serializer,
})

Implementation

factory SkippedVersionRow.fromJson(Map<String, dynamic> json,
    {ValueSerializer? serializer}) {
  serializer ??= driftRuntimeOptions.defaultSerializer;
  return SkippedVersionRow(
    id: serializer.fromJson<int>(json['id']),
    skipped: serializer.fromJson<String>(json['skipped']),
  );
}