Command.fromJson constructor

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

Implementation

factory Command.fromJson(Map<String, dynamic> json) {
  return Command(
    title: json['title'] as String,
    command: json['command'] as String,
    arguments: json['arguments'] as List<dynamic>?,
  );
}