parseCustomParams function

Map<String, dynamic>? parseCustomParams(
  1. List<String> tokens
)

Implementation

Map<String, dynamic>? parseCustomParams(List<String> tokens) {
  if (tokens.length != 5) return null;
  try {
    Map<String, dynamic> customValue = jsonDecode(tokens[4]);
    return customValue;
  } catch (error) {
    return null;
  }
}