JsonByPath class
Get and Set json values by key path
Constructors
- JsonByPath([String splitChar = '.'])
Properties
Methods
-
delete(
Map< String, dynamic> target, String keyPath) → Map<String, dynamic> -
getValue<
T> (Map< String, dynamic> target, String? keyPath, [T? defValue]) → T? - get value from an existing key by path returns null if some key does not exists
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setValue(
Map< String, dynamic> target, String keyPath, dynamic value) → Map<String, dynamic> - write value inside a key if key does not exists, it will be created
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited