SendCommandResult.fromJson constructor

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

Implementation

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