fromJson method

  1. @override
List<String> fromJson(
  1. Object? json
)

Implementation

@override
List<String> fromJson(Object? json) => json == null
    ? []
    : json is String
        ? json.split(separator)
        : json is List
            ? json.cast<String>()
            : json as List<String>;