generateVariableNameFromJsonKey static method

String generateVariableNameFromJsonKey(
  1. String key
)

Implementation

static String generateVariableNameFromJsonKey(String key) =>
    key.replaceAll('_', ' ').replaceAll('-', ' ').camelCase;