FormatField<T> method

String FormatField<T>(
  1. String name,
  2. T fieldValue
)
Formats the field. The name. The field value.

Implementation

String FormatField<T>(String name, T fieldValue) {
  return (fieldValue != null) ? "$name: $fieldValue} " : "";
}