$UikNoInternetPropsFromJson function

UikNoInternetProps $UikNoInternetPropsFromJson(
  1. Map<String, dynamic> json
)

Implementation

UikNoInternetProps $UikNoInternetPropsFromJson(Map<String, dynamic> json) {
  final UikNoInternetProps uikNoInternetProps = UikNoInternetProps();
  final String? id = jsonConvert.convert<String>(json['id']);
  if (id != null) {
    uikNoInternetProps.id = id;
  }

  final UikAction? action = jsonConvert.convert<UikAction>(json['action']);
  if (action != null) {
    uikNoInternetProps.action = action;
  }

  return uikNoInternetProps;
}