JsonMergeSpec class
JSON merge spec: where to read the source from + whether existing keys survive a collision.
Constructors
- JsonMergeSpec({required String source, bool additive = true})
-
Creates a JsonMergeSpec.
const
- JsonMergeSpec.fromYaml(YamlMap m)
-
Parses one entry under the
json_merge:map.factory
Properties
- additive → bool
-
When
true(default), existing keys in the target file survive.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Stub key whose content is parsed as JSON.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited