ChangedValue.fromJson constructor

ChangedValue.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ChangedValue.fromJson(Map<String, Object?> json) {
  return ChangedValue(
    name: json[r'name'] as String? ?? '',
    oldValue: json[r'oldValue'] as String? ?? '',
    hiddenOldValue: json[r'hiddenOldValue'] as String?,
    newValue: json[r'newValue'] as String? ?? '',
    hiddenNewValue: json[r'hiddenNewValue'] as String?,
  );
}