factory PhaseContext.fromJson(Map<String, dynamic> json) { return PhaseContext( message: json['message'] as String?, statusCode: json['statusCode'] as String?, ); }