DataMatchResult constructor
Represents the result of the data match.
Implementation
DataMatchResult(Map<String, dynamic> nativeDataMatchResult) {
overallState = enumFromValue(
DataMatchState.values,
nativeDataMatchResult["overallState"],
);
states =
nativeDataMatchResult["states"] != null
? (nativeDataMatchResult["states"] as List<dynamic>)
.map(
(item) =>
DataMatchResultField(Map<String, dynamic>.from(item)),
)
.toList()
: null;
}