$UikOtpPropsFromJson function
Implementation
UikOtpProps $UikOtpPropsFromJson(Map<String, dynamic> json) {
final UikOtpProps uikOtpProps = UikOtpProps();
final String? id = jsonConvert.convert<String>(json['id']);
if (id != null) {
uikOtpProps.id = id;
}
final UikAction? action = jsonConvert.convert<UikAction>(json['action']);
if (action != null) {
uikOtpProps.action = action;
}
return uikOtpProps;
}