arrayOrEmpty method
Returns the value as an array, or an empty array if it is not an array.
Implementation
@pragma('vm:prefer-inline')
// ignore: prefer_const_constructors
JsonArray arrayOrEmpty() => arrayOrNull() ?? JsonArray._([]);
Returns the value as an array, or an empty array if it is not an array.
@pragma('vm:prefer-inline')
// ignore: prefer_const_constructors
JsonArray arrayOrEmpty() => arrayOrNull() ?? JsonArray._([]);