GetPartitionResponse.fromJson constructor

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

Implementation

factory GetPartitionResponse.fromJson(Map<String, dynamic> json) {
  return GetPartitionResponse(
    partition: json['Partition'] != null
        ? Partition.fromJson(json['Partition'] as Map<String, dynamic>)
        : null,
  );
}