コード例 #1
0
        internal static string GetDartMethodName(string methodName, DartPropertyNameConverter converter = null)
        {
            DartPropertyNameConverter propertyNameConverter = converter ?? new DartPropertyNameConverter();

            // Dart methodName
            string metName = propertyNameConverter.Convert(methodName);

            return(metName);
        }
コード例 #2
0
        internal static string GetDartPropertyName(string propertyName, DartPropertyNameConverter converter = null)
        {
            DartPropertyNameConverter propertyNameConverter = converter ?? new DartPropertyNameConverter();

            // Dart property name
            string propName = propertyNameConverter.Convert(propertyName);

            return(propName);
        }