UserProfileComment.fromJson constructor

UserProfileComment.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserProfileComment.fromJson(Map<String, dynamic> json) {
  return UserProfileComment(
    id: json['id'] as String? ?? '',
    body: json['body'] as String? ?? '',
    createdAt: json['createdAt'] as String? ?? '',
    featureRequestId: json['featureRequestId'] as String? ?? '',
    featureRequestTitle: json['featureRequestTitle'] as String? ?? '',
    appId: json['appId'] as String? ?? '',
    appName: json['appName'] as String? ?? '',
  );
}