profile method Null safety
카카오스토리 프로필 가져오기
Implementation
Future<StoryProfile> profile() async {
return ApiFactory.handleApiError(() async {
final response = await _dio.get(Constants.storyProfilePath,
queryParameters: {Constants.secureResource: "true"});
return StoryProfile.fromJson(response.data);
});
}