ThirdPartySigned.fromJson constructor

ThirdPartySigned.fromJson(
  1. Map<String, Object?> json
)

Implementation

ThirdPartySigned.fromJson(Map<String, Object?> json)
    : mxid = json['mxid'] as String,
      sender = json['sender'] as String,
      signatures = (json['signatures'] as Map<String, Object?>).map((k, v) =>
          MapEntry(
              k,
              (v as Map<String, Object?>)
                  .map((k, v) => MapEntry(k, v as String)))),
      token = json['token'] as String;