ServerInit2.fromJson constructor

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

Implementation

factory ServerInit2.fromJson(Map<String, dynamic> json) => ServerInit2(
    sessionId: (json['SessionId'] as String?) ?? '',
    sessionIdentity: (json['SessionIdentity'] as Map<String, dynamic>?)?.map((k, v) => MapEntry(k, (v as String?) ?? '')) ?? const {},
);