OpenResult.fromJson(Map<String, dynamic> json) : message = json['message'], type = _convertJson(json['type']);