toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accessSettings = this.accessSettings;
  final adminInstalled = this.adminInstalled;
  final createTime = this.createTime;
  final customer = this.customer;
  final displayName = this.displayName;
  final externalUserAllowed = this.externalUserAllowed;
  final importMode = this.importMode;
  final importModeExpireTime = this.importModeExpireTime;
  final lastActiveTime = this.lastActiveTime;
  final membershipCount = this.membershipCount;
  final name = this.name;
  final permissionSettings = this.permissionSettings;
  final predefinedPermissionSettings = this.predefinedPermissionSettings;
  final singleUserBotDm = this.singleUserBotDm;
  final spaceDetails = this.spaceDetails;
  final spaceHistoryState = this.spaceHistoryState;
  final spaceThreadingState = this.spaceThreadingState;
  final spaceType = this.spaceType;
  final spaceUri = this.spaceUri;
  final threaded = this.threaded;
  final type = this.type;
  return {
    'accessSettings': ?accessSettings,
    'adminInstalled': ?adminInstalled,
    'createTime': ?createTime,
    'customer': ?customer,
    'displayName': ?displayName,
    'externalUserAllowed': ?externalUserAllowed,
    'importMode': ?importMode,
    'importModeExpireTime': ?importModeExpireTime,
    'lastActiveTime': ?lastActiveTime,
    'membershipCount': ?membershipCount,
    'name': ?name,
    'permissionSettings': ?permissionSettings,
    'predefinedPermissionSettings': ?predefinedPermissionSettings,
    'singleUserBotDm': ?singleUserBotDm,
    'spaceDetails': ?spaceDetails,
    'spaceHistoryState': ?spaceHistoryState,
    'spaceThreadingState': ?spaceThreadingState,
    'spaceType': ?spaceType,
    'spaceUri': ?spaceUri,
    'threaded': ?threaded,
    'type': ?type,
  };
}