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