SpaceFeeds.fromJson constructor

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

Implementation

SpaceFeeds.fromJson(Map<String, dynamic> json) {
  spaceId = json['spaceId'];
  about = json['about'];
  did = json['did'];
  intent = json['intent'];
  intentSentBy = json['intentSentBy'];
  intentTimestamp = json['intentTimestamp'];
  publicKey = json['publicKey'];
  profilePicture = json['profilePicture'];
  threadhash = json['threadhash'];
  wallets = json['wallets'];
  combinedDID = json['combinedDID'];
  name = json['name'];
  if (json['spaceInformation'] != null) {
    spaceInformation = SpaceDTO.fromJson(json['spaceInformation']);
  }
}