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