v1CreateApiKeysIntent.fromJson constructor

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

Implementation

factory v1CreateApiKeysIntent.fromJson(Map<String, dynamic> json) {
  final _apiKeys = (json['apiKeys'] as List).map((e) => apiApiKeyParams.fromJson(e as Map<String, dynamic>)).toList();
  final _userId = json['userId'] as String;
  return v1CreateApiKeysIntent(
    apiKeys: _apiKeys,
    userId: _userId,
  );
}