SafetyTipInfo.fromJson constructor
Implementation
factory SafetyTipInfo.fromJson(Map<String, dynamic> json) {
return SafetyTipInfo(
safetyTipStatus: SafetyTipStatus.fromJson(
json['safetyTipStatus'] as String,
),
safeUrl: json.containsKey('safeUrl') ? json['safeUrl'] as String : null,
);
}