mirror of
https://github.com/foss42/apidash.git
synced 2025-06-02 07:46:10 +08:00
22 lines
311 B
Dart
22 lines
311 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
@immutable
|
|
class KVRow {
|
|
const KVRow(this.k, this.v);
|
|
|
|
final String k;
|
|
final dynamic v;
|
|
|
|
KVRow copyWith({
|
|
String? k,
|
|
dynamic v,
|
|
}) {
|
|
return KVRow(k ?? this.k, v ?? this.v);
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return {k: v}.toString();
|
|
}
|
|
}
|