buildDefText function

String buildDefText(
  1. dynamic value, {
  2. int levelSpaceCount = 4,
  3. String quote = '´',
})

Implementation

String buildDefText(
    dynamic value,
    {
        int levelSpaceCount = 4,
        String quote = '´'
    }
    )
{
    var context =
        BuildingContext(
            levelSpaceCount : levelSpaceCount,
            quote : quote
            );

    buildDefValue( value, context, 0 );

    return context.lineArray.join( '\n' );
}