factory ResolutionId.fromJson(Map<String, Object?> json) { return ResolutionId( id: json[r'id'] as String? ?? '', ); }