DescribeDatastoreResponse.fromJson constructor

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

Implementation

factory DescribeDatastoreResponse.fromJson(Map<String, dynamic> json) {
  return DescribeDatastoreResponse(
    datastore: json['datastore'] != null
        ? Datastore.fromJson(json['datastore'] as Map<String, dynamic>)
        : null,
    statistics: json['statistics'] != null
        ? DatastoreStatistics.fromJson(
            json['statistics'] as Map<String, dynamic>)
        : null,
  );
}