intent static method
Implementation
static Map<String, dynamic> intent({
required String name,
Map<String, dynamic>? inputs,
Map<String, dynamic>? data,
}) {
return {
'\$kind': '\$Intent',
'\$Intent': {
'name': name,
'inputs': inputs?.map((key, value) => MapEntry(
key,
value
)) ?? {},
'data': data ?? {},
},
};
}