CallRectangleRow.fromJson constructor

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

Implementation

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