DestinationFeatureSetting.fromJson constructor
DestinationFeatureSetting.fromJson(
- Object? j
Implementation
factory DestinationFeatureSetting.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return DestinationFeatureSetting(
featureId: switch (json['featureId']) {
null => '',
Object $1 => decodeString($1),
},
destinationField: switch (json['destinationField']) {
null => '',
Object $1 => decodeString($1),
},
);
}