toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() {
  return {
    'table_name': tableName,
    'sync_at': syncAt,
    'retention_days': retentionDays,
    'read_only': readOnly ? 1 : 0,
    'write_only': writeOnly ? 1 : 0,
  };
}