v1CreateReadWriteSessionResultV2.fromJson constructor

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

Implementation

factory v1CreateReadWriteSessionResultV2.fromJson(Map<String, dynamic> json) {
  final _organizationId = json['organizationId'] as String;
  final _organizationName = json['organizationName'] as String;
  final _userId = json['userId'] as String;
  final _username = json['username'] as String;
  final _apiKeyId = json['apiKeyId'] as String;
  final _credentialBundle = json['credentialBundle'] as String;
  return v1CreateReadWriteSessionResultV2(
    organizationId: _organizationId,
    organizationName: _organizationName,
    userId: _userId,
    username: _username,
    apiKeyId: _apiKeyId,
    credentialBundle: _credentialBundle,
  );
}