listValue property

  1. @override
List<JsonPayload> listValue
override

Returns a List or an empty List if rawValue is not a List Each element of the list is wrapped in a Json instance

Implementation

@override
List<JsonPayload> get listValue => (_rawValue is List)
    ? (_rawValue as List).map<JsonPayload>((dynamic e) => JsonPayload.fromDynamic(e)).toList()
    : [];