toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'instruction': instruction,
      if (hsi != null) 'hsi': hsi,
      if (schema != null) 'schema': schema,
    };