CallCredentialsRow.fromJson constructor

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

Implementation

factory CallCredentialsRow.fromJson(Map<String, dynamic> json,
    {ValueSerializer? serializer}) {
  serializer ??= driftRuntimeOptions.defaultSerializer;
  return CallCredentialsRow(
    callId: serializer.fromJson<String>(json['callId']),
    credentials: serializer.fromJson<String>(json['credentials']),
  );
}