toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final mIdentityServer = this.mIdentityServer;
  return {
    ...additionalProperties,
    'm.node': mNode.toJson(),
    if (mIdentityServer != null)
      'm.identity_server': mIdentityServer.toJson(),
  };
}