text static method

Map<String, dynamic> text(
  1. String value
)

Implementation

static Map<String, dynamic> text(String value) => {
      'type': 'text',
      'text': {'value': value},
    };