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