AccountMetadataDoc.fromJson constructor

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

Implementation

factory AccountMetadataDoc.fromJson(Map<String, dynamic> json) {
  final model = AccountMetadata.fromJson(json['model'] as String);
  final indexedAccount = IndexedAccount.fromJson(
    json['indexedAccount'] as String,
  );
  return AccountMetadataDoc.fromModel(model, indexedAccount);
}