toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (blogId != null) 'blogId': blogId!,
      if (hasAdminAccess != null) 'hasAdminAccess': hasAdminAccess!,
      if (kind != null) 'kind': kind!,
      if (photosAlbumKey != null) 'photosAlbumKey': photosAlbumKey!,
      if (role != null) 'role': role!,
      if (userId != null) 'userId': userId!,
    };