readMeta function
Reads the _meta field, returning an empty map when absent.
Implementation
Map<String, Object?> readMeta(Map<String, Object?> json) {
final raw = json['_meta'];
if (raw is Map<String, Object?>) return raw;
return const {};
}
Reads the _meta field, returning an empty map when absent.
Map<String, Object?> readMeta(Map<String, Object?> json) {
final raw = json['_meta'];
if (raw is Map<String, Object?>) return raw;
return const {};
}