IndexCommand.fromJson constructor
Implementation
factory IndexCommand.fromJson(Map<String, Object?> json) => IndexCommand._(
kind: IndexCommandKind.values.byName(json['kind'] as String),
name: json['name'] as String,
definition: json['definition'] == null
? null
: IndexDefinition.fromJson(json['definition'] as Map<String, Object?>),
);